package com.qf.limit.commons.r;


import lombok.Getter;

@Getter
public enum Codes {

    SUCC(200,"成功"),
    FAIL(500,"失败"),
    PARAMS_ERROR(409,"参数检测异常"),
    USER_EXISTS(410,"用户已存在"),
    USER_NOT_FOUND(411,"用户不存在");
    private Integer code;
    private String msg;

    Codes(Integer code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
